<ul class="topnav">
    <li><?php echo $this->Html->link('Home', array('controller' => 'auctions', 'action' => 'index')); ?></li>
    <li><?php echo $this->Html->link('How to', array('controller' => 'pages', 'action' => 'howto')); ?></li>
    <li><?php echo $this->Html->link('Winners', array('controller' => 'auctions', 'action' => 'winners')); ?></li>
    <?php if ($user == null) : ?>
    <li><?php echo $this->Html->link('Sign Up', array('controller' => 'users', 'action' => 'register')); ?></li>
    <li><?php echo $this->Html->link('Login', array('controller' => 'users', 'action' => 'login')); ?></li>
    <?php else : ?>
    <li><?php echo $this->Html->link('Profile', array('controller' => 'users', 'action' => 'index', $user['id'])); ?></li>
    <li><?php echo $this->Html->link('Logout', array('controller' => 'users', 'action' => 'logout')); ?></li>
    <?php endif; ?>
</ul>
